#pragma once
#ifndef _MENU_BUTTON_H
#define _MENU_BUTTON_H
#include "cocos2d.h"
#include "base\CCRef.h"
#include "Define.h"
using namespace cocos2d;
class MenuButton : public Object
{
public:
	MenuButton();
	~MenuButton();
	BUTTON_ID mId;
	void init(std::string name, Layer* target, BUTTON_ID id);
	void startAction(Object* pSender);
	bool mTestOnlyClick, mDoneAction;
	MenuItem* mMenuItem;
};
#endif //_MENU_BUTTON_H
